package cn.wind.xboot.logic.service;

import cn.wind.xboot.logic.entity.VegetableMarket;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 市场 服务类
 * </p>
 *
 * @author wind
 * @since 2018-12-21
 */
public interface IVegetableMarketService extends IService<VegetableMarket> {

    List<VegetableMarket> findAll();

    /**
     * 根据条件查询
     * @param page
     * @param map
     * @return
     */
    IPage<VegetableMarket> findByCondition(IPage page, Map<String, Object> map);
}
